﻿<%@ WebHandler Language="C#" Class="chkapply_pass" %>

using System;
using System.Web;

public class chkapply_pass : IHttpHandler {
    
    public void ProcessRequest (HttpContext context) {
        string manid = context.Request["manid"].ToString();
        string opt = context.Request["opt"].ToString();
        TLinkmanGive oMan = new TLinkmanGive(manid);
        oMan.Status = Convert.ToInt16(opt);
        oMan.Update_status();
        
        context.Response.ContentType = "text/plain";
        context.Response.Write("ok");
    }
 
    public bool IsReusable {
        get {
            return false;
        }
    }

}